<template>
  <div class="box">
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item><img src="https://img.alicdn.com/imgextra/i2/3390270589/O1CN01X5U14d1GDo05pbeNT_!!3390270589.jpg" alt=""></van-swipe-item>
      <van-swipe-item><img src="https://img.alicdn.com/imgextra/i3/3390270589/O1CN01iOqkxw1GDo07YRsJG_!!3390270589.jpg" alt=""></van-swipe-item>
      <van-swipe-item><img src="https://img.alicdn.com/imgextra/i4/3390270589/O1CN01E8lPU21GDo02SPXUE_!!3390270589.jpg" alt=""></van-swipe-item>
      <van-swipe-item><img src="https://img.alicdn.com/imgextra/i3/3390270589/O1CN01NXzLdC1GDo07YUxcL_!!3390270589.jpg" alt=""></van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  name: "Banner",
};
</script>

<style scoped>
.box {
  width: 100%;
  height: 2rem;
  box-sizing: border-box;
  padding: 0 .15rem;
}
.box img {
  width: 100%;
  border-radius: .1rem;
  height: 2rem;
}
.my-swipe{
  border-radius: .1rem;
  
}
.my-swipe .van-swipe-item {
  color: rgb(255, 255, 255);
  font-size: 0.2rem;
  /* line-height: 2rem; */
  text-align: center;
  /* background-color: #39a9ed; */
}



.van-swipe__indicators {
    position: absolute;
    bottom: 12px;
    left: 90%;
    display: flex;
/*    
    transform: translateX(-50%); */
}

</style>